package org.cptz.game.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 玩家
 * </p>
 *
 * @author cpt.z
 * @since 2022-08-07
 */
@Getter
@Setter
@Accessors(chain = true)
@ApiModel(value = "Player对象", description = "玩家")
public class Player implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("昵称")
    private String nickName;

    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("级别")
    private String level;

    @ApiModelProperty("累计分数")
    private Integer score;
}
